package two_xia.ex5.Demo01;

public class Desktop extends ComputerBuilder {
    @Override
    public void buildCpu() {
        computer.setCpu("cpuA");
    }

    @Override
    public void buildRam() {
        computer.setRam("内存A");
    }

    @Override
    public void buildDisk() {
        computer.setDisk("硬盘A");
    }

    @Override
    public void buildHost() {
        computer.setHost("主机A");
    }

    @Override
    public void buildMonitor() {
        computer.setMonitor("显示器(台式的)");
    }
}
